/**
 * 左侧菜单配置
 */
import React from 'react'
import { AreaChartOutlined, createFromIconfontCN } from '@ant-design/icons'

const isDev = process.env.APP_ENV === 'development'

// iconfont.cn
const IconFont = createFromIconfontCN({
  // scriptUrl: '//at.alicdn.com/t/font_1492696_4ai9rbngxhe.js'
  scriptUrl: 'http://at.alicdn.com/t/font_1492696_4ai9rbngxhe.js'
})

export interface IMenu {
  title: string
  path: string
  fullPath?: string
  icon?: React.ReactNode
  subs?: Array<IMenu>
  electron?: boolean
}

export default [
  {
    path:'/handleProject',
    fullPath:'/HandleProject',
  },
  {
    path:'/projectDetail',
    fullPath:'/ProjectDetail',
  },
  {
    path:'/databaseConfig',
    fullPath:'/DatabaseConfig'
  },
  {
    path:'/appConfig',
    fullPath:'/AppConfig'
  },
  {
    path:'/restartApp',
    fullPath:'/RestartApp'
  }
] as Array<IMenu>
